setAutoStart

abstract fun setAutoStart(flag: Boolean)

Sets whether this control should start its operation automatically after initialization.

If enabled (set to true), the control's play or operational logic should begin immediately after its initialization phase is complete. If disabled (set to false), the control will wait for an explicit call to start before becoming active.

Parameters

flag

true to enable auto-start, false to disable it.